<div id="content">

    <h1>栏目的修改</h1>
    <!--弹出框END--->

    <div class="controls">
        <form action="{:U('Cate/editCate',array('id'=>$data[id]))}" method="post">
            <div class="modal-body">
                <p>
                    名称：<input type="text" size="30" name="name" value="{$data.name}"/>
                </p>
                <p>
                    排序：<input style="width:10px;" maxlength="1" type="text" size="1" name="order" value="{$data.order}"/>
                </p>
                <p>
                    <label class="control-label">显示</label>
                    <input type="text" value="{$data.is_show}" id="is_show">
                    <label>
                        <input type="radio" name="is_show" value="0"> 否
                    </label>
                    <label>
                        <input type="radio" name="is_show" value="1"> 是
                    </label>
                </p>
            </div>
            <script>
                $("input:radio[name='is_show']").each(

                        function(){
                            if($(this).val()==$("#is_show").val())
                            {
                                $(this).attr("checked","checked");
                            }
                        }
                );
            </script>
            <div class="modal-footer">
                <input type="submit" class="btn btn-primary" value="提交">
            </div>
        </form>
    </div>
</div>
<script src="__PUBLIC__js/fullcalendar.min.js"></script>
<script src="__PUBLIC__js/matrix.calendar.js"></script>
<script src="__PUBLIC__js/matrix.tables.js"></script>
